package com.example.fivecheergame;

public class PieceLocation {
    int x;
    int y;

    public PieceLocation(int x, int y) {
        this.x = x;
        this.y = y;
    }
    public PieceLocation( ) {
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        PieceLocation that = (PieceLocation) o;
        return x == that.x &&
                y == that.y;
    }
}
